<?php
/**
 *+------------------
 * Lflow
 *+------------------
 * Copyright (c) 2023~2030 gitee.com/liu_guan_qing All rights reserved.本版权不可删除，侵权必究
 *+------------------
 * Author: Mr.April(405784684@qq.com)
 *+------------------
 */

namespace app\adminapi\controller\v1\wf\vo;

class WfHighlihtData
{

    /**
     * @var List<String>
     */
    private array $history_node_names = [];
    /**
     * @var List<String>
     */
    private array $history_edge_names = [];
    /**
     * @var List<String>
     */
    private array $active_node_names = [];

    /**
     * @return List<String>
     */
    public function getHistoryNodeNames(): array
    {
        return $this->history_node_names;
    }

    /**
     * @param List<String> $historyNodeNames
     */
    public function setHistoryNodeNames(array $historyNodeNames): void
    {
        $this->history_node_names = $historyNodeNames;
    }

    /**
     * @return List<String>
     */
    public function getHistoryEdgeNames(): array
    {
        return $this->history_edge_names;
    }

    /**
     * @param List<String> $historyEdgeNames
     */
    public function setHistoryEdgeNames(array $historyEdgeNames): void
    {
        $this->history_edge_names = $historyEdgeNames;
    }

    /**
     * @return List<String>
     */
    public function getActiveNodeNames(): array
    {
        return $this->active_node_names;
    }

    /**
     * @param List<String> $activeNodeNames
     */
    public function setActiveNodeNames(array $activeNodeNames): void
    {
        $this->active_node_names = $activeNodeNames;
    }

    public function toString(): string
    {
        return json_encode(get_object_vars($this));

    }

    public function toArray(): array
    {
        return get_object_vars($this);
    }
}
